home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
gfx
/
3d
/
rayshade40_enh2.lha
/
Examples
/
glass2.ray
< prev
next >
Wrap
Text File
|
1992-04-12
|
734b
|
46 lines
# 1 "glass.ray"
# 1 "glass.def.ray" 1
name glass
union
torus 0.95 0.06 0 0 2 0 0 1
difference
list
cone 0.9 0 0 -0.001 1.0 0 0 2
disc 1 0 0 2 0 0 1
disc 0.9 0 0 -.001 0 0 -1
end
list
cone 0.7 0 0 0.1 0.9 0 0 2.2
disc .9 0 0 2.2 0 0 1
disc .7 0 0 0.1 0 0 -1
end
end
end
# 5 "glass.ray" 2
surface glass
diffuse .08 .08 .08 specular .2 .2 .2
reflect 1. transp 1 body .8 .8 .8 index 1.3
surface white ambient 1 1 1
surface red diffuse .8 0 0 ambient .1 0 0 specular .6 .6 .6
object glass glass
plane ambient .1 .1 .1 diffuse .7 .7 .7 0 0 0 0 0 1
texture checker red scale .8 .8 .8 translate 0 0 -.2
background .1 .3 .8
eyep 0 -10 7
fov 30
light 1. directional 1. -1. 1.
fov 30 23